#pragma once

#include <QWidget>
#include "openglwidget.h"

namespace Ui
{
    class PointCloudPage;
}

class PointCloudPage : public QWidget
{
    Q_OBJECT

public:
    explicit PointCloudPage(QWidget *parent = nullptr);
    ~PointCloudPage();

    void setPath(const QString &path)
    {
        m_path = path;
    }

public slots:
    void onStart();

private:
    std::vector<QVector3D> ReadVec3PointCloudASC(QString path);

private:
    Ui::PointCloudPage *ui;
    OpenglWidget *m_openglWidget;
    QString m_path;
};
